<?php

// +----------------------------------------------------------------------
// | quanli team
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2020 http://www.fistforward.com/ All rights reserved.
// +----------------------------------------------------------------------
// | Author: create by allen.qiang
// +----------------------------------------------------------------------

/**
 * 现金卡页面
 * @package  htdocs
 * @subpackage  company
 * @author  create by allen.qiang
 */


class pa_cashCard {

    public function execute() {

        if (isset($_REQUEST['operFlg']) && $_REQUEST['operFlg'] > 0) {

            switch ($_REQUEST['operFlg']) {

                case 1: // 现金卡列表
                    $this->cashCardList();
                    break;

                default:
                    backendError();
                    break;
            }

        } else {

            backendError();

        }
    }

    /**
     *现金卡列表页
     */
    private function cashCardList () {

        global $G_PGLOB;
        $G_PGLOB->smarty->assign('edit_permission', $G_PGLOB->has_permission(70002));
        $G_PGLOB->smarty->display('company/cashCardList.tpl');

    }

}